package com.async.designpatterns.structure.composite;

public class Leaf implements  Node {
    private String nodeId;
    public Leaf(String id){
        nodeId = id;
    }

    @Override
    public void add(Node node) {

    }

    @Override
    public void remove(Node node) {

    }

    @Override
    public Node getChildren() {
        return null;
    }

    @Override
    public String getId() {
        return nodeId;
    }
}
